<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>display属性</title>
		<style>
			* {
				margin: 0;
				padding: 0;
			}

			p {
				height: 299px;
				background-color: blue;
				display: none;
			}

			#d1 {
				border: 1px green solid;
			}

			#d1 a {
				height: 160px;
				width: 400px;
				background-color: darkgoldenrod;
				text-decoration: none;
				display: block;
				margin: 3px;
			}

			#d2 div {
				height: 100px;
				width: 100px;
				margin: 4px;
				background-color: burlywood;
				display: inline;
			}

			#d3 {
				border: 1px red groove;
			}

			#d3 div {
				height: 100px;
				width: 100px;
				/* margin: 4px; */
				background-color: burlywood;
				display: inline-block;
				
			}
		</style>
	</head>
	<body>
		<p>We change lives</p>
		<p>We change lives</p>
		<p>We change lives</p>
		<div id="d1">
			<a href="#">链接1</a>
			<a href="#">链接1</a>
			<a href="#">链接1</a>
			<a href="#">链接1</a>
			<a href="#">链接1</a>
		</div>
		<div id="d2">
			<div>1</div>
			<div>2</div>
			<div>3</div>
			<div>4</div>
		</div>
		<div id="d3">
			<div>1</div>
			<div>2</div>
			<div>3</div>
			<div>
				<ul>
					<li>3</li>
					<li>5</li>
					<li>6</li>
					<li>7</li>
					<li>8</li>
				</ul>
			</div>
			<div>
				<ul>
					<li>aaa</li>
					<li>bbb</li>
				</ul>
			</div>
		</div>
	</body>
</html>
